{% extends 'base.html' %}
	{% block title %}The current time{% endblock %}
	{% block content %}
		<form action="/time/" method="get">
			<input type="text" name="offset">
			<input type="submit" value="Calc">
		</form>
		{% if current_date %}
			<p>It is now {{current_date}}.</p>
		{% else %}
			<p>In {{ hours_offset }} hour(s), it will be {{ next_time }}.</p>
		{% endif %}
	{% endblock %}